package messaging;

/**
 * Distinguishes the token types.
 * @author Team 4
 * @version 06-1-2013
 */
public enum TokenType
{

  /**
   * First Key Method.
   */
  FIRSTKEY('F'),
  /**
   * Last Key Method.
   */
  LASTKEY('L'),
  /**
   * Count of Nodes.
   */
  COUNT('C'),
  /**
   * Count of actual nodes.
   */
  ACTUALCOUNT('A');
  /**
   * The letter corresponding to a particular value of the enumeration.
   */
  private final char my_letter;
  /**
   * Constructs a new Token with the specified letter.
   * 
   * @param the_letter The letter.
   */
  private TokenType(final char the_letter)
  {
    my_letter = the_letter;
  }
  /**
   * returns the letter.
   * @return the letter
   */
  public char getMyLetter()
  {
    return my_letter;
  }

}
